package com.bonjour.common.cluster;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.bonjour.common.helper.JsonHelper;
public interface IClusterSrvListener {
    Logger LOG = LoggerFactory.getLogger(IClusterSrvListener.class);
    default void changed(Map<String, List<SrvInstance>> srvGroupMap) {
        LOG.debug("now online srv changed list {}", JsonHelper.toJSONString(srvGroupMap));
    }
}
